package com.xx.sg.own.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sg_communication_device")
public class CommunicationDevice {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    //区域
    @TableField(value = "region")
    private String region;
    //类型
    @TableField(value = "type")
    private String type;
    //品牌
    @TableField(value = "brand")
    private String brand;
    //连接地址
    @TableField(value = "link_address")
    private String linkAddress;
    //归属人
    @TableField(value = "belong_user")
    private String belongUser;

    @TableField(value = "play_status")
    private Boolean playStatus;

    @TableField(value = "name")
    private String name;

}
